$def with(url, partner_name, partner_url)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="rebots" content="nofollow" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>正在跳转 - 寻宝图_xunbaotu.com</title>
  <style type="text/css">
<!--
body{color:#000; font-family:"Microsoft YaHei","宋体",Arial, Helvetica, sans-serif;font-size:12px;background:url("$config.STATIC_PREFIX/default/images/wait_bg.gif") repeat;margin:0;padding:0;}
h1,h2,h3,h4,h5,h6,p,form,dl,dt,dd,ul,ol,li,input{margin:0;padding:0;list-style:none outside}
a{ color:#000; text-decoration:none;}
a:hover{ color:#38939a; text-decoration:underline;}
img {border:0px;}

.wt_box{width:628px; margin:10% auto;}
.wt_t{}
.wt_m{background:url("$config.STATIC_PREFIX/default/images/waitbox_m.gif") repeat-y top left; width:589px; margin:0px auto; padding:20px 20px 10px 20px}
.wt_m span{display:block; text-align:center; padding:0 0 10px 0}
.center{text-align:center;line-height:30px;}
.wt_b{background:url("$config.STATIC_PREFIX/default/images/waitbox_b.gif") no-repeat top left; height:7px;}


.m_out_mid{text-align:center;line-height:30px;color:#cb4343; font-weight:bold; font-size:18px}
.m_out_mid a{color:#373737; font-weight:normal}
.m_out_mid_b{ border-bottom:1px dashed #dbdbdb; padding-bottom:10px;text-align:center;line-height:30px; font-size:12px;color:#767676}
.m_out_mid_b a{color:#767676; font-weight:normal}
.m_out_bottom{ width:420px; height:150px; margin:0 auto; text-align:center; font-size:12px; color:#767676; font-weight:normal; line-height:20px}
.m_out_bottom strong{ font-size:18px; font-family:"Microsoft YaHei"; padding-top:30px; display: inline-block; line-height:18px; padding-bottom:10px;color:#000}
.m_out_bottom a{color:#b90000; font-size:12px;}
.loading {margin-left:-70px;}
-->
    </style>
  <script type="text/javascript">
      <!--
      
          function goTo(url) {
            var a = document.createElement("a");
            if(!a.click) {window.parent.location.href = url;return;}
            if(isFirefox5plus()){window.parent.location.href = url;return;}
            a.setAttribute("href", url);
            a.setAttribute("target","_top");
            a.style.display = "none";
            document.body.appendChild(a);
            a.click();
          }
          function isFirefox5plus(){
            var user_agent = navigator.userAgent
            if(/mozilla/i.test(user_agent) && /firefox\/([5-9]|\d{2,})[^\d]*/i.test(user_agent)){
                return true
            }
            return false
          }
          function load_url() {
              goTo("$:url")
          }
          var cnt = 0;
          window.onbeforeunload = function() {
              cnt++
          };
          setInterval(function() {
              if (cnt > 0) {
                  cnt -= 2;
                  goTo("$:url")
              }
          }, 1);      
      -->
  </script>
</head>
<body>
<div class="wt_box">
    <div class="wt_t"><img src="$config.STATIC_PREFIX/default/images/waitbox_t.gif"/></div>
    <div class="wt_m">

  <span>
      <a href="http://xunbaotu.com/" target="_blank"><img src="$config.STATIC_PREFIX/default/images/logo.png" /></a>
  </span>
  <div class="m_out_mid">您将从寻宝图离开，<a href="http://$:partner_url">进入$partner_name</a></div>
  <div class="m_out_mid_b">如果没有自动跳转，请<a href="$:url" style="color: red; text-decoration: underline;">点击这里</a>
      <br />
      <img src="$config.STATIC_PREFIX/images/common/loading_blue.gif" class="loading" />
  </div>
  <div class="m_out_bottom"><strong>温馨提示</strong><br />
    寻宝图仅为您提供旅游产品搜集、评测、展示等服务<br />
    您所购买的产品的全部信息请以相应商家网站的信息为准<br />
    详情参见<a href="/help/how-to-selected" target="_blank">怎样精选</a>
  </div>


        
    </div>
    
    <div class="wt_b"></div>
</div>
    <script type="text/javascript">
      <!--
      setTimeout(function(){load_url()},2500);
      -->
    </script>
    
    <!-- Google Analytics BEGIN -->
    <script type="text/javascript">

      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-6357843-6']);
      _gaq.push(['_setDomainName', 'xunbaotu.com']);
      _gaq.push(['_trackPageview']);

      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();

    </script>
    <!-- Google Analytics END -->
    
  </body>
</html>

